import base from "../../static/images/base.png";
import anse from "../../static/images/anse.png";
import guihua from "../../static/images/guihua.png";
export var baseMapConfig = [
  {
    id: 0,
    name: base,
    url: "http://10.89.5.191/OneMapServer/rest/services/zwdt_base/MapServer"
  },
  {
    id: 1,
    name: anse,
    url:
      "http://10.89.5.191/OneMapServer/rest/services/shmw2_blueblack/MapServer"
  },
  {
    id: 2,
    name: guihua,
    url: "http://10.89.5.191/OneMapServer/rest/services/DLGMap2021/MapServer"
  }
];

export var sideIcons = [
  { id: 6, title: "地名地址定位", class: "icon-weizhi" },

  { id: 0, title: "图层", class: "icon-tucenghuaguo" },
  { id: 7, title: "首页", class: "icon-shouye" },
  { id: 1, title: "放大", class: "icon-fangda" },
  { id: 2, title: "缩小", class: "icon-suoxiao" },
  { id: 3, title: "搜索", class: "icon-fangdajing" },
  // {id:4,title:'图层查询',class:'icon-chaxun'},
  { id: 5, title: "测量", class: "icon-changdu" }
];
//程序的IP地址
export var productorIP = "http://10.207.204.11:8080"; //生产模式
// export var productorIP = "http://localhost:8080"; //开发模式 

//用户名
export var username = "cngzj";
//密码
export var password = "cngzj12345";

export var tileLayerConfig = [
  {
    id: 11,
    DB: "fw",
    name: "房屋",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_fdsj/MapServer/0",
    visible: false
  },
  {
    id: 12,
    DB: "zd",
    name: "宗地(参考)",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_fdsj/MapServer/1",
    visible: false
  },
  {
    id: 21,
    DB: "centerline",
    name: "中心线",
    url: "http://10.89.5.191/OneMapServer/rest/services/hxsj/MapServer/0",
    visible: false
  },
  {
    id: 22,
    DB: "redline",
    name: "道路红线",
    url: "http://10.89.5.191/OneMapServer/rest/services/hxsj/MapServer/1",
    visible: false
  },
  {
    id: 31,
    DB: "qjsgc",
    name: "长宁区批项目",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_jsgc/MapServer/0",
    visible: false
  },
  {
    id: 32,
    DB: "spgc",
    name: "长宁市批项目",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_jsgc/MapServer/1",
    visible: false
  },
  {
    id: 41,
    DB: "kxfm",
    name: "控详风貌",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_kxgh_ck/MapServer/0",
    visible: false
  },
  {
    id: 42,
    DB: "kxsj",
    name: "控详数据",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_kxgh_ck/MapServer/1",
    visible: false
  },
  {
    id: 43,
    DB: "kxjf",
    name: "控详街坊",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_kxgh_ck/MapServer/2",
    visible: false
  },
  {
    id: 44,
    DB: "kxfw",
    name: "控详范围",
    url: "http://10.89.5.191/OneMapServer/rest/services/cn_kxgh_ck/MapServer/3",
    visible: false
  },
  {
    id: 51,
    DB: "",
    name: "长宁边界",
    url:
      "http://10.89.5.191/OneMapServer/rest/services/BOUNDARY/FeatureServer/0",
    visible: false
  }
];

export var PropData = [
  {
    kxgh: {
      0: {
        title: "控详数据",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "dkbh",
            label: "地块编号",
            visible: true
          },
          {
            fieldName: "jfbh",
            label: "街坊编号",
            visible: true
          },
          {
            fieldName: "dybh",
            label: "单元编号",
            visible: true
          },
          {
            fieldName: "bzdqlx",
            label: "编制地区类型",
            visible: true
          },
          {
            fieldName: "ydmj",
            label: "用地面积",
            visible: true
          },
          {
            fieldName: "ydxzdm",
            label: "用地性质代码",
            visible: true
          },
          {
            fieldName: "hhyddm",
            label: "混合用地代码",
            visible: true
          },
          {
            fieldName: "ydxzmc",
            label: "用地性质名称",
            visible: true
          },
          {
            fieldName: "hhjmbl",
            label: "混合建面比例",
            visible: true
          },
          {
            fieldName: "hhydbl",
            label: "混合用地比例",
            visible: true
          },
          {
            fieldName: "jzmd",
            label: "建筑密度",
            visible: true
          },
          {
            fieldName: "zdrjl",
            label: "最大容积率",
            visible: true
          },
          {
            fieldName: "zxrjl",
            label: "最小容积率",
            visible: true
          },
          {
            fieldName: "ldl",
            label: "绿地率",
            visible: true
          },
          {
            fieldName: "dsjrjm",
            label: "地上计容建面",
            visible: true
          },
          {
            fieldName: "dxjzmj",
            label: "地下建筑面积",
            visible: true
          },
          {
            fieldName: "zjzmj",
            label: "总建筑面积",
            visible: true
          },
          {
            fieldName: "jzgd",
            label: "建筑高度",
            visible: true
          },
          {
            fieldName: "zzzts",
            label: "住宅总套数",
            visible: true
          },
          {
            fieldName: "ptss",
            label: "配套设施",
            visible: true
          },
          {
            fieldName: "ghjsdt",
            label: "规划建设动态",
            visible: true
          },
          {
            fieldName: "bz",
            label: "备注",
            visible: true
          },
          {
            fieldName: "bzjzgd",
            label: "标志建筑高度",
            visible: true
          },
          {
            fieldName: "gckjmj",
            label: "广场空间面积",
            visible: true
          },
          {
            fieldName: "lhkjmj",
            label: "绿化空间面积",
            visible: true
          },
          {
            fieldName: "dxkjcs",
            label: "地下空间层数",
            visible: true
          },
          {
            fieldName: "ggtcw",
            label: "公共停车位",
            visible: true
          },
          {
            fieldName: "xmbh",
            label: "项目编号",
            visible: true
          },
          {
            fieldName: "jdm",
            label: "街道名",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      1: {
        title: "控详风貌",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "dkbh",
            label: "地块编号",
            visible: true
          },
          {
            fieldName: "jfbh",
            label: "街坊编号",
            visible: true
          },
          {
            fieldName: "xzyddm",
            label: "现状用地代码",
            visible: true
          },
          {
            fieldName: "xzydxz",
            label: "现状用地性质",
            visible: true
          },
          {
            fieldName: "ghyddm",
            label: "规划用地代码",
            visible: true
          },
          {
            fieldName: "ghydxz",
            label: "规划用地性质",
            visible: true
          },
          {
            fieldName: "ldl",
            label: "绿地率",
            visible: true
          },
          {
            fieldName: "jzmd",
            label: "建筑密度",
            visible: true
          },
          {
            fieldName: "tcw",
            label: "停车位",
            visible: true
          },
          {
            fieldName: "kfdt",
            label: "开发动态",
            visible: true
          },
          {
            fieldName: "qt",
            label: "其他",
            visible: true
          },
          {
            fieldName: "bz",
            label: "备注",
            visible: true
          },
          {
            fieldName: "xmbh",
            label: "项目编号",
            visible: true
          },
          {
            fieldName: "ydmj",
            label: "用地面积",
            visible: true
          },
          {
            fieldName: "xzjzmj",
            label: "现状建筑面积",
            visible: true
          },
          {
            fieldName: "ghjzmj",
            label: "规划建筑面积",
            visible: true
          },
          {
            fieldName: "zdrjl",
            label: "最大容积率",
            visible: true
          },
          {
            fieldName: "zxrjl",
            label: "最小容积率",
            visible: true
          },
          {
            fieldName: "dybh",
            label: "单元编号",
            visible: true
          },
          {
            fieldName: "ghhhyd",
            label: "规划混合用地",
            visible: true
          },
          {
            fieldName: "ghhhbl",
            label: "规划混合比例",
            visible: true
          },
          {
            fieldName: "ghjmbl",
            label: "规划建面比例",
            visible: true
          },
          {
            fieldName: "xzhhyd",
            label: "现状混合用地",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      2: {
        title: "控详街坊",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "jfbh",
            label: "街坊编号",
            visible: true
          },
          {
            fieldName: "dybh",
            label: "单元编号",
            visible: true
          },
          {
            fieldName: "bzdqlx",
            label: "编制地区类型",
            visible: true
          },
          {
            fieldName: "bz",
            label: "备注",
            visible: true
          },
          {
            fieldName: "fjtz",
            label: "附件图则",
            visible: true
          },
          {
            fieldName: "xmbh",
            label: "项目编号",
            visible: true
          },
          {
            fieldName: "jdm",
            label: "街道名",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      3: {
        title: "控详范围",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "xmmc",
            label: "项目名称",
            visible: true
          },
          {
            fieldName: "ghlx",
            label: "规划类型",
            visible: true
          },
          {
            fieldName: "dybh",
            label: "单元编号",
            visible: true
          },
          {
            fieldName: "szqx",
            label: "所在区县",
            visible: true
          },
          {
            fieldName: "fwmj",
            label: "范围面积",
            visible: true
          },
          {
            fieldName: "rkgm",
            label: "人口规模",
            visible: true
          },
          {
            fieldName: "zzbzdw",
            label: "组织编制单位",
            visible: true
          },
          {
            fieldName: "bzdwmc",
            label: "编制单位名称",
            visible: true
          },
          {
            fieldName: "xmfzr",
            label: "项目负责人",
            visible: true
          },
          {
            fieldName: "bzsj",
            label: "编制时间",
            visible: true
          },
          {
            fieldName: "spsj",
            label: "审批时间",
            visible: true
          },
          {
            fieldName: "pwh",
            label: "批文号",
            visible: true
          },
          {
            fieldName: "pwmc",
            label: "批文名称",
            visible: true
          },
          {
            fieldName: "bz",
            label: "备注",
            visible: true
          },
          {
            fieldName: "xmbh",
            label: "项目编号",
            visible: true
          },
          {
            fieldName: "kssj",
            label: "开始时间",
            visible: true
          },
          {
            fieldName: "jdm",
            label: "街道名",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      }
    },
    zxgh: {
      0: {
        title: "长宁区建设工程",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "txxkz",
            label: "图形许可证",
            visible: true
          },
          {
            fieldName: "txdh",
            label: "图形档号",
            visible: true
          },
          {
            fieldName: "txly",
            label: "图形来源",
            visible: true
          },
          {
            fieldName: "gcxkz",
            label: "工程许可证号",
            visible: true
          },
          {
            fieldName: "zzyxd",
            label: "执照影像档号",
            visible: true
          },
          {
            fieldName: "zzdah",
            label: "执照档案号",
            visible: true
          },
          {
            fieldName: "fzrq",
            label: "发证日期",
            visible: true
          },
          {
            fieldName: "xmmc",
            label: "项目名称",
            visible: true
          },
          {
            fieldName: "jsdw",
            label: "建设单位",
            visible: true
          },
          {
            fieldName: "jsdz",
            label: "建设地址",
            visible: true
          },
          {
            fieldName: "zztxd",
            label: "执照图形档号",
            visible: true
          },
          {
            fieldName: "hs",
            label: "盒数",
            visible: true
          },
          {
            fieldName: "tzzs",
            label: "图纸张数",
            visible: true
          },
          {
            fieldName: "wjzs",
            label: "文件张数",
            visible: true
          },
          {
            fieldName: "zzjs",
            label: "执照卷数",
            visible: true
          },
          {
            fieldName: "jgjs",
            label: "竣工卷数",
            visible: true
          },
          {
            fieldName: "ghhgz",
            label: "规划合格证",
            visible: true
          },
          {
            fieldName: "fzmj",
            label: "发证面积",
            visible: true
          },
          {
            fieldName: "chmj",
            label: "测绘面积",
            visible: true
          },
          {
            fieldName: "dahgz",
            label: "档案合格证",
            visible: true
          },
          {
            fieldName: "shjld",
            label: "审核结论单",
            visible: true
          },
          {
            fieldName: "rq",
            label: "日期",
            visible: true
          },
          {
            fieldName: "jgdah",
            label: "竣工档案号",
            visible: true
          },
          {
            fieldName: "xh",
            label: "序号",
            visible: true
          },
          {
            fieldName: "cdyzh",
            label: "城档验证号",
            visible: true
          },
          {
            fieldName: "ydyxd",
            label: "用地影像档号",
            visible: true
          },
          {
            fieldName: "jgyxd",
            label: "竣工影像档号",
            visible: true
          },
          {
            fieldName: "xzpf",
            label: "选址批复",
            visible: true
          },
          {
            fieldName: "rjl",
            label: "容积率",
            visible: true
          },
          {
            fieldName: "ydxz",
            label: "用地性质",
            visible: true
          },
          {
            fieldName: "jzxz",
            label: "建筑性质",
            visible: true
          },
          {
            fieldName: "ydxk",
            label: "用地许可",
            visible: true
          },
          {
            fieldName: "ydmj",
            label: "用地面积",
            visible: true
          },
          {
            fieldName: "ydpz",
            label: "用地批准",
            visible: true
          },
          {
            fieldName: "pzmj",
            label: "批准面积",
            visible: true
          },
          {
            fieldName: "tzjh",
            label: "投资计划",
            visible: true
          },
          {
            fieldName: "ztz",
            label: "总投资",
            visible: true
          },
          {
            fieldName: "rkrq",
            label: "入库日期",
            visible: true
          },
          {
            fieldName: "tx",
            label: "图形",
            visible: true
          },
          {
            fieldName: "ysx",
            label: "有属性",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      1: {
        title: "长宁市批工程",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "zzdah",
            label: "执照档案号",
            visible: true
          },
          {
            fieldName: "gcxkz",
            label: "工程许可证",
            visible: true
          },
          {
            fieldName: "dtbh",
            label: "单体编号",
            visible: true
          },
          {
            fieldName: "sqh",
            label: "申请号",
            visible: true
          },
          {
            fieldName: "xmmc",
            label: "项目名称",
            visible: true
          },
          {
            fieldName: "sqdw",
            label: "申请单位",
            visible: true
          },
          {
            fieldName: "jzwmc",
            label: "建筑物名称",
            visible: true
          },
          {
            fieldName: "jzwzs",
            label: "建筑物幢数",
            visible: true
          },
          {
            fieldName: "jzxz",
            label: "建筑性质",
            visible: true
          },
          {
            fieldName: "jzmj",
            label: "建筑面积",
            visible: true
          },
          {
            fieldName: "zjzmj",
            label: "总建筑面积",
            visible: true
          },
          {
            fieldName: "cs",
            label: "层数",
            visible: true
          },
          {
            fieldName: "gd",
            label: "高度",
            visible: true
          },
          {
            fieldName: "qxm",
            label: "区县名",
            visible: true
          },
          {
            fieldName: "spdw",
            label: "审批单位",
            visible: true
          },
          {
            fieldName: "dah",
            label: "档案号",
            visible: true
          },
          {
            fieldName: "gl",
            label: "关联",
            visible: true
          },
          {
            fieldName: "yt",
            label: "用途",
            visible: true
          },
          {
            fieldName: "bz",
            label: "备注",
            visible: true
          },
          {
            fieldName: "nf",
            label: "年份",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      2: {
        title: "历史风貌保护规划",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "lx",
            label: "类型",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "st_area(shape)",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "st_length(shape)",
            label: "长度(m)",
            visible: false
          }
        ]
      }
    },
    fdsj: {
      0: {
        title: "房屋",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "objid",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "zh",
            label: "幢号",
            visible: true
          },
          {
            fieldName: "cszj",
            label: "层数注记",
            visible: true
          },
          {
            fieldName: "cs",
            label: "层数",
            visible: true
          },
          {
            fieldName: "mpzj",
            label: "门牌注记",
            visible: true
          },
          {
            fieldName: "qh",
            label: "区号",
            visible: true
          },
          {
            fieldName: "jdh",
            label: "街道号",
            visible: true
          },
          {
            fieldName: "jfh",
            label: "街坊号",
            visible: true
          },
          {
            fieldName: "zdh",
            label: "宗地号",
            visible: true
          },
          {
            fieldName: "zdzh",
            label: "宗地子号",
            visible: true
          },
          {
            fieldName: "jzmj",
            label: "建筑面积",
            visible: true
          },
          {
            fieldName: "hs",
            label: "户数",
            visible: true
          },
          {
            fieldName: "dwmc",
            label: "单位名称",
            visible: true
          },
          {
            fieldName: "dslc",
            label: "地上楼层",
            visible: true
          },
          {
            fieldName: "fwzt",
            label: "房屋状态",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "geom_Area",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "geom_Length",
            label: "长度(m)",
            visible: false
          }
        ]
      },
      1: {
        title: "宗地",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "OBJECTID",
            label: "objid",
            visible: false
          },
          {
            fieldName: "ename",
            label: "ename",
            visible: false
          },
          {
            fieldName: "zdh",
            label: "宗地号",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "geom_Area",
            label: "面积(m²)",
            format: { places: 2 },
            visible: true
          },
          {
            fieldName: "geom_Length",
            label: "长度(m)",
            visible: false
          }
        ]
      }
    },
    hxsj: {
      0: {
        title: "中心线",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "anno",
            label: "图幅号",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "geom_Length",
            label: "长度(m)",
            visible: true
          }
        ]
      },
      1: {
        title: "道路红线",
        fieldInfos: [
          {
            fieldName: "FID",
            label: "FID",
            visible: false
          },
          {
            fieldName: "anno",
            label: "图幅号",
            visible: true
          },
          {
            fieldName: "shape",
            label: "shape",
            visible: false
          },
          {
            fieldName: "geom_Length",
            label: "长度(m)",
            visible: true
          }
        ]
      }
    }
  }
];
